COPYRIGHT = "Script by Issetea and Fewo. For more information visit www.rp-mods.com. Do not modify.";
 v1806 = { private["_i", "_1"]; _1 = []; for "_i" from 0 to ((count v4897) - 1) do { if (_this == ((v4897 select _i) select v1831)) exitWith {_1 = (v4897 select _i);}; }; _1 }; v1807 = { private["_8", "_pos"]; _8 = getDir _this; _pos = getPos _this; [((_pos select 0) + (cos _8)), ((_pos select 1) + (sin _8)), (_pos select 2)] }; v1811 = { v1810 = 0; v1808 = 0; }; v1809 = { private["_3", "_4", "_8", "_arr", "_10", "_maxDirL", "_maxDirR", "_1", "_6"]; _3 = _this select 0; _4 = _this select 1; _8 = _this select 2; _6 = _this select 3; _7 = _this select 4; if (_8 == "horizontal") then { _10 = (getDir _3) + _4; if ( (v1810 + _4 < -_7) or (v1810 + _4 > _7) ) then { } else { v1810 = v1810 + _4; _3 setVectorDir [sin _10, cos _10, ((vectorDir _3) select 2)]; _3 camCommit _6; }; } else { _10 = acos((vectorDir _3) select 1); if ( (v1808 + _4 < -_7) or (v1808 + _4 > _7) ) then { } else { v1808 = v1808 + _4; _3 setVectorDir [((vectorDir _3) select 0), cos _10, sin _10]; _3 camCommit _6; }; }; };